home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global giNumMapAreas, giMapRollOverSprite, gbHilightUp
- set rollFalg to 0
- repeat with i = 1 to giNumMapAreas
- if rollOver(i + 10) then
- set iTemp to i + 10
- set sTemp to "MapHilight" & i
- set the castNum of sprite giMapRollOverSprite to the number of cast sTemp
- set the locH of sprite giMapRollOverSprite to the locH of sprite iTemp
- set the locV of sprite giMapRollOverSprite to the locV of sprite iTemp
- updateStage()
- set rollFlag to i
- set gbHilightUp to 1
- updateStage()
- end if
- end repeat
- if not rollFlag and gbHilightUp then
- set the locH of sprite giMapRollOverSprite to -500
- set the locV of sprite giMapRollOverSprite to -500
- set gbHilightUp to 0
- end if
- go(the frame - 2)
- end
-